<template>
  <div class="property-con">
    <a-tabs size="mini" v-model:active-key="activePage">
      <a-tab-pane key="PropertyWhereHouse" title="属性库">
        <!-- <PropertyWhereHouse /> -->
      </a-tab-pane>
      <a-tab-pane key="PropertyTempalte" title="分类属性模板">
        <!-- <PropertyTempalte /> -->
      </a-tab-pane>
    </a-tabs>
  </div>
  <component :is="activePage" />
</template>

<script lang="ts">
  import { defineComponent, ref } from 'vue'
  import PropertyTempalte from './componetns/propertyTempalte.vue'
  import PropertyWhereHouse from './componetns/propertyWhereHouse.vue'
  export default defineComponent({
    name: 'propertyIndex',
    components: { PropertyTempalte, PropertyWhereHouse },
    setup() {
      let activePage = ref('PropertyWhereHouse')
      return { activePage }
    },
  })
</script>

<style lang="less" scoped>
  .property-con {
    background-color: white;
    height: 32px;
    // overflow: hidden;
  }
</style>
